﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="ForgotPassword.aspx.cs" Inherits="Pages_ForgotPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="pnError" runat="server" ForeColor="red" Visible="false">
                <table border="0" cellpadding="3" cellspacing="3" width="100%">
                    <tr>
                        <td colspan="2" style="background-color: #EEE; color: red;">
                            Lỗi xảy ra.
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lberror" runat="server" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="pnForgotPass" runat="server">
                <table border="0" style="margin-top: 15px;" cellpadding="3" cellspacing="3" width="100%">
                    <tr>
                        <td colspan="2" style="background-color: #EEE; color: Blue;">
                            Cấp lại mật khẩu.
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 25%;">
                            Tài khoản:
                        </td>
                        <td >
                            <asp:TextBox ID="txtUserName" Width="200px" runat="server" />
                            <asp:Label ID="lberrorusername" runat="server" Text="Nhập tên tài khoản." ForeColor="Red"
                                Visible="false"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="color: Black;">
                            Mã bảo vệ:
                        </td>
                        <td>
                            <asp:TextBox ID="txtCaptcha" Width="200px" runat="server" />
                            <span style="color:Red">(*)</span>
                            <asp:Label ID="lberrorcaptcha" runat="server" Text="Sai mã bảo vệ." ForeColor="Red"
                                Visible="false"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <div id="Div1" style="margin-left: 40px;" runat="server">
                                <asp:Image ID="captchaImage" runat="server" />
                                <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Styles/Images/refresh.png"
                                    OnClick="ImageButton1_Click" ToolTip="Đổi mã bảo vệ" />
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 25%;">
                        </td>
                        <td class="style1">
                            <asp:Button ID="btnPassword" Text="&nbsp;Gửi mật khẩu&nbsp;" runat="server" OnClick="btnPassword_Click" class="fb_invite_button"/>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="pncomfirm" runat="server" Visible="false">
                Mật khẩu mới đã được gởi tới Email của bạn.
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="footer" runat="Server">
</asp:Content>
